﻿Title:    “Historical Analogies and Public Support for Foreign Policy Action.”

Authors: Christopher W. Blair, Paul Lendway, and Joshua A. Schwartz

Data users will need to unzip all folders upon download. Name the master folder "Replication". Also please be sure to change the file path with your username in each code file so that the code runs on your device. If you place the unzipped replication folder on your desktop, you can change the file path in each code file by performing a find-and-replace, substituting “cb2257" for "your username".


Once these steps are completed, you need to run two files to reproduce the full results:

1. First, run Meta Analysis.R in RStudio - this will run all analyses.
2. When that is completed, run Appendix Replication.do in Stata - this will run analyses for the supplement.

List of Data Files:

• Study1Data.csv -- data for survey 1
• Study2Data.csv -- data for survey 2
• Study3Data.csv -- data for survey 3


List of Main Analysis Code Files:

• Meta Analysis.R - build, clean, and analyze main data
• Appendix Replication.do - build, clean, and analyze appendix data


List of Other Files:

• Tables-Placeholder.txt - a blank text file contained within the tables folder. This file is a placeholder in the replication zip files. Running the analyses will fill the tables folder with tabular results from the manuscript
• Figures-Placeholder.txt - a blank text file contained within the figures folder. This file is a placeholder in the replication zip files. Running the analyses will fill the figures folder with figure results from the manuscript
• Readme.txt - a file with instructions for replication


Computing Environment:

▪ macOS Sequoia 15.7.1

▪ Stata/IC 15.1

▪ Version 2025.09.2+418 (2025.09.2+418)

▪ R version 4.5.1 (2025-06-13) -- "Great Square Root"

Data Citation:

Blair, Christopher W., Paul Lendway, and Joshua A. Schwartz. 2025. "Historical Analogies and Public Support for Foreign Policy Action." Journal of Conflict Resolution.
